package com.xyzwps.server.paimon.model.entity

import com.xyzwps.server.paimon.value.UserId
import kotlin.time.Instant

data class UserSession(
    val id: Long? = null,
    val token: String,
    val userId: UserId,
    val createdAt: Instant,
    val expireTime: Instant
) {
    companion object {
        const val TOKEN_MAX_LENGTH = 80
    }
}
